package cn.zhou;

public class test1 {
    public static void main(String[] args) {
        girlfriend g1 = new girlfriend();
        g1.setName("凤姐");
        g1.setHeight(155.0);
        g1.setWeight(130.0);
        System.out.println("我女朋友叫"+g1.getName()+",身高"+g1.getHeight()+",体重"+g1.getWeight()+"斤");
        girlfriend g2 = new girlfriend("迪丽热巴",175.0,90.0);
        System.out.println("我女朋友叫"+g2.getName()+",身高"+g2.getHeight()+",体重"+g2.getWeight()+"斤");
        System.out.println("---------------------------------");
        Student s1 = new Student();
        s1.setName("张三");
        s1.setAge(23);
        s1.show();
        Student s2 = new Student("李四",24);
        s2.show();
        System.out.println("---------------------------------");
        Teacher t1 = new Teacher();
        t1.setId(9527);
        t1.setName("杨");
        t1.teacher();
        Teacher t2 = new Teacher(9528,"李");
        t2.teacher();
        System.out.println("---------------------------------");
        Phone p1 = new Phone("小米",3999,"黑色");
        p1.call();
        String s=p1.getBrand();
        p1.sendMessage();
        Phone p2=new Phone();
        p2.setBrand("华为");
        p2.setPrice(5999);
        p2.setColor("白色");
        p2.call();
        p2.sendMessage();
    }
}
